var http = require('http');
var fs = require('fs');
var path = require('path');
var qs = require('querystring');

let fileName = path.resolve(__dirname, './lala.txt');
let newFileName = path.resolve(__dirname, './lala/xixida.txt');

fs.rename(fileName, newFileName, function (err) {
    console.log(err);
})

